package com.example.zx_springboot.mapper;

import com.example.zx_springboot.entity.ZxResource;
import com.example.zx_springboot.entity.ZxRole;
import com.example.zx_springboot.entity.ZxUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface Zx_URRMapper {
    ZxUser getUserByid(int id);
    List<ZxResource> selectAllMenus(Integer id);
    List<ZxRole>selectAllRoles(Integer id);
    ZxRole selectresourcebyrole(int id);
}
